package sz.szsmk.citizencard.mvp.contract;

import java.util.List;

import sz.szsmk.citizencard.model.network.bean.response.NoticeListRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface INoticeListContact {

    interface IINoticeListPresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter {
        void getNoticeList(int currentPager, String word, String messageType);


        void changesIsRead(String id,String type);

        void delItem(String id);

        void clearItem(String messageType);

    }

    interface INoticeListView extends IBaseContact.IBaseView {

        // 获得数据失败
        void getNoticeListError(String response);

        void getNoticeListSuccess(List<NoticeListRes.MessageDetailListBean> response);

        void changesIsReadFail();

        void changesIsReadSucc();

        void delItemSucc();

        void delItemFail();

        void clearItemSucc();

        void clearItemFail();
    }


}
